package com.seu.project.seuquiz.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 学院-竞赛map表
 * @TableName college_contest_map
 */
@TableName(value ="college_contest_map")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CollegeContestMap implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 学院名称
     */
    private String collegeName;

    /**
     * 竞赛id
     */
    private String contestId;

    /**
     * 学院总人数
     */
    private Integer collegeStudentTotal;

    /**
     * 参赛人数
     */
    private Integer joinTotal;

    /**
     * 总分
     */
    private Integer totalScore;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除 0-否 1-是
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}